package com.java.admin.service;

import com.java.param.PageParam;
import com.java.pojo.Category;
import com.java.utils.R;
import org.springframework.stereotype.Service;

@Service
public interface CategoryService {
    R list(PageParam pageParam);

    /**
     * 保存类别信息
     * @param category
     * @return
     */
    R save(Category category);

    /**
     * 删除类别信息
     * @param category
     * @return
     */
    R remove(Category category);

    /**
     * 更新类别信息
     * @param category
     * @return
     */
    R update(Category category);
}
